package com.example.demo.mapper;

import com.example.demo.bean.SCustomer;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SCustomerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SCustomer record);

    SCustomer selectByPrimaryKey(Integer id);
    
    List<SCustomer> selectBySalesRepId(Integer id);
    
    List<SCustomer> selectByRegionId(Integer id);

    List<SCustomer> selectAll();

    int updateByPrimaryKey(SCustomer record);
    
    List<SCustomer> selectByName(String name);
    
    int batchDelete(@Param("id")int[] id);
}